﻿using HTB.DevFx.Core;

namespace Maple.Weixin.MP.Entities.Messages
{
    public interface IResponseService
    {
        ResponseMessageBase Handle(RequestMessageBase requestMessage);
    }

    public abstract class ResponseServiceBase : ServiceBase, IResponseService
    {
        #region Implementation of IResponseService

        public abstract ResponseMessageBase Handle(RequestMessageBase requestMessage);

        #endregion
    }

    public abstract class ResponseServiceBase<TSetting> : ServiceBase<TSetting>, IResponseService
    {
        #region Implementation of IResponseService

        public abstract ResponseMessageBase Handle(RequestMessageBase requestMessage);

        #endregion
    }
}
